/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Constants;

/**
 *
 * @author hanv
 */
public class PIConstants {
    // USER INDEX

    public static final int USER_INDEX_FRIENDLY = 0;
    public static final int USER_INDEX_HOSTILITY = 1;
    public static final int USER_INDEX_STYLISH = 2;
    public static final int USER_INDEX_HAPPY = 3;
    public static final int USER_INDEX_HEALTHY = 4;
    public static final int FRIENDLY_KISS_ADDED = 1;
    public static final int FRIENDLY_GIFT_ADDED = 10;
    public static final int FRIENDLY_BEAT_MINUS = -2;
    public static final int HOSTILITY_BEAT_ADDED = 10;
    public static final int HOSTILITY_FARM_ADDED = 5;
    public static final int HAPPY_MINIGAME_ADDED = 1;
    public static final int HAPPY_MINIGAME_MINUS = -1;
    public static final int HAPPY_KISSED_ADDED = 5;
    public static final int HEALTHY_BEAT_MINUS = -5;
    public static final int ITEM_STATUS_UNUSED = 0;
    public static final int ITEM_STATUS_USING = 1;
    public static final int ITEM_CATEGORY_FOOD = 0;
    public static final int ITEM_CATEGORY_PET_FOOD = 1;
    public static final int ITEM_CATEGORY_SHIRT = 2;
    public static final int ITEM_CATEGORY_PANT = 3;
    public static final int ITEM_CATEGORY_HAIR = 4;
    public static final int ITEM_CATEGORY_EYES = 5;
    public static final int ITEM_CATEGORY_FACE = 6;
    public static final int ITEM_CATEGORY_ROD = 7;
    public static final int ITEM_CATEGORY_BAIT = 8;
    public static final int ITEM_CATEGORY_FISHING_TICKET = 9;
    public static final int ITEM_CATEGORY_FISH = 10;
    public static final int ITEM_CATEGORY_IN_HAND = 20;
    public static final int ITEM_CATEGORY_ON_FACE = 21;
    public static final int ITEM_CATEGORY_ON_HEAD = 22;
    public static final int MAX_ITEM_USING = 10;
    public static final int MAX_ITEM_UNUSED = 10;
    public static final int MESSAGE_TYPE_NORMAL = 0;
    public static final int MESSAGE_TYPE_FRIEND_REQUEST = 1;
    public static final int MESSAGE_STATUS_REMOVED = 0;
    public static final int MESSAGE_STATUS_UNREAD = 1;
    public static final int MESSAGE_STATUS_READ = 2;
    public static final int MESSAGE_STATUS_REPLIED = 3;
    /*
     * FOR FISHING
     */
    public static final int RESPONSE_ENTER_SLOT_FAIL_HEALTH = 1;
    public static final int RESPONSE_ENTER_SLOT_FAIL_TICKET = 2;
    public static final int RESPONSE_ENTER_SLOT_FAIL_SLOT = 3;
    public static final int ITEM_BAIT_RICE = 42;
    public static final int ITEM_BAIT_BUG = 44;
    public static final int ITEM_BAIT_ANT = 43;
    public static final int ITEM_BAIT_BEEF = 51;
    public static final int ITEM_BAIT_OCTOPUS = 52;
    public static final int ITEM_VE_CAU_CA_RO = 20100;
    public static final int ITEM_VE_CAU_CA_LOC = 20200;
    public static final int ITEM_VE_CAU_CA_MAP = 20300;
    public static final int ITEM_ROD_BAMBOO = 20031;
    public static final int ITEM_ROD_IRON = 20032;
    public static final int ITEM_ROD_VIPP = 20033;
    public static final int ITEM_CA_RO = 20101;
    public static final int ITEM_CA_LOC = 20201;
    public static final int ITEM_CA_MAP = 20301;
    public static final byte BYTE_VALUE_BAIT_RICE = 1;
    public static final byte BYTE_VALUE_BAIT_ANT = 2;
    public static final byte BYTE_VALUE_BAIT_BUG = 4;
    public static final byte BYTE_VALUE_TICKET_CA_RO = 1;
    public static final byte BYTE_VALUE_TICKET_CA_LOC = 2;
    public static final byte BYTE_VALUE_TICKET_CA_MAP = 4;
    public static final byte BYTE_VALUE_ROD_BAMBOO = 1;
    public static final byte BYTE_VALUE_ROD_IRON = 2;
    public static final byte BYTE_VALUE_ROD_VIP = 4;
    public static final boolean FSH_RESPONSE_IS_TO_CLIENT = true;
    public static final boolean FSH_RESPONSE_IS_TO_ANOTHER_CLIENT = false;
    public static final int VALUE_MAP_CARO = 201;
    public static final int VALUE_MAP_CALOC = 202;
    public static final int VALUE_MAP_CAMAP = 203;
    public static final byte BYTE_MAP_CARO = 1;
    public static final byte BYTE_MAP_CALOC = 2;
    public static final byte BYTE_MAP_CAMAP = 4;
    /*
     * FARM
     */
    
    public static final int RESPONSE_VISIT_FARM_FAIL_HEALTH = 1;
    public static final int RESPONSE_VISIT_FARM_FAIL_HOSTILITY = 2;
    public static final int FARM_HEALTH_LIMIT = 10;
    public static final int FARM_HOSTILITY_LIMIT = 80;
    public static final int ATM_TRANSFER_LIMIT_MIN = 100;
    public static final int ATM_TRANSFER_LIMIT_MAX = 10000;
    public static final int ATM_TRANSFER_NOT_ENOUGH_MONEY = 1;// Tài khoản chuyển không đủ tiền
    public static final int ATM_TRANSFER_DAILY_TIME_LIMIT = 2; // Đã chuyển tiền trong ngày hôm nay
    public static final int ATM_TRANSFER_MIN_LIMIT = 3;// Số tiền chuyển đi quá thấp ( so với 100)
    public static final int ATM_TRANSFER_MAX_LIMIT = 4; // Số tiền chuyển đi quá nhiều ( so với 10000)
    public static final int ATM_TRANSFER_FEE_PERCENT = 5;
    public static final int REQUEST_FIELD_TUOI_NUOC = 1;
    public static final int REQUEST_FIELD_LAM_DAT = 2;
    public static final int REQUEST_FIELD_BON_PHAN = 3;
    public static final int REQUEST_FIELD_DIET_SAU = 4;
    public static final int REQUEST_FIELD_DIET_CO = 5;
    public static final int REQUEST_FIELD_THU_HOACH = 6;
    /*
     * ITEM ID FARM
     */
    //TYPE
    public static final int TYPE_FARM_PLANT = 1;
    public static final int TYPE_FARM_ANIMAL = 2;
    public static final int TYPE_FARM_ITEM_FOR_TREE = 3;
    public static final int TYPE_FARM_FOOD_FOR_ANIMAL = 4;
    public static final int TYPE_FARM_DRUG_FOR_ANIMAL = 5;
    public static final int TYPE_FARM_PLANT_PRODUCT = 6;
    public static final int TYPE_FARM_ANIMAL_PRODUCT = 7;
    //Category
    public static final int CATEGORY_FARM_IS_FOR_HEN = 1;
    public static final int CATEGORY_FARM_IS_FOR_PIG = 2;
    public static final int CATEGORY_FARM_IS_FOR_COW = 3;
    public static final int CATEGORY_FARM_IS_FOR_DOG = 4;
    public static final int CATEGORY_FARM_HERBICIDE = 5;
    public static final int CATEGORY_FARM_WORM_DRUG = 6;
    public static final int CATEGORY_FARM_FERTILIZE = 7;
    public static final int CATEGORY_FARM_ANIMAL_FLU = 8;
    public static final int CATEGORY_FARM_ANIMAL_HEADACHE = 9;
    public static final int CATEGORY_FARM_ANIMAL_TONIC = 10;
    
    
    
    public static final int RESPONSE_BUY_LAND_FAIL_NOT_ENOUGH_MONEY = 1;
    public static final int FLAG_ACTION_FEED_ANIMAL = 1;
    public static final int FLAG_ACTION_TREAT_ANIMAL_FLU = 2;
    public static final int FLAG_ACTION_TREAT_ANIMAL_HEADACHE = 3;
    public static final int FLAG_ACTION_TONIC_ANIMAL = 4;
    public static final byte VALUE_BYTE_ANIMAL_HUNGRY = 1;
    public static final byte VALUE_BYTE_ANIMAL_TIRED = 2;
    public static final byte VALUE_BYTE_ANIMAL_HAVE_FLU = 4;
    public static final byte VALUE_BYTE_ANIMAL_HEADACHE = 8;
    public static final byte VALUE_BYTE_TREE_GRASS1 = 1;
    public static final byte VALUE_BYTE_TREE_GRASS2 = 2;
    public static final byte VALUE_BYTE_TREE_WORM = 4;
    public static final byte VALUE_BYTE_TREE_DRY = 8;
    public static final byte VALUE_BYTE_WAS_NOT_FERTILIZING = 16;
    /*
     * Constant FOR Database
     */
    public static final String STRING_EXCHANGE_RATE = "money_exchange_rate";
    public static final String STRING_SELL_ANIMAL_FEE = "sell_animal_fee";
    public static final String STRING_FARM_LAND_PRICE = "farm_land_price";
    public static final int NUMBER_OF_LAND_CREATED_FOR_NEW_FARM_USER=4;
}